#include "mythr_createmp4.h"

mythr_createmp4::mythr_createmp4(QObject *parent) : QThread(parent)
{


}

void mythr_createmp4::run()
{
    to_mp4 mp4;
    connect(&mp4,&to_mp4::singal_newchi,this,&mythr_createmp4::slot_newchi);

    mp4.setfont();
    mp4.setother();
    mp4.pngTomp4_2();

    //emit signal_createover();
    return;
}

void mythr_createmp4::slot_newchi(QString chi, double time)
{
    emit singal_newchi(chi,time);
}
